#{extends 'main.html' /}
#{set title:'Notice' /}

#{form @bbs.Notice.writeb()}
<table width="985" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="20"><img src="@{'/public/images/sapce3.png'}" alt="" width="20" height="18" /></td>
        <td width="155" rowspan="3" valign="top"><img src="@{'/public/images/sub_title14.png'}" alt="" width="155" height="62" /></td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td background="@{'/public/images/main_top_bar.png'}"><img src="@{'/public/images/main_top_bar.png'}" alt="" width="6" height="6"></td>
        <td colspan="2" background="@{'/public/images/main_top_bar.png'}"></td>
      </tr>
      <tr>
        <td><img src="@{'/public/images/sapce4.png'}" alt="" width="20" height="38" /></td>
        <td width="35" class="table2"></td>
        <td width="775" class="table2">



<table width="670" border="0" cellspacing="0" cellpadding="0">
<!-- 컨텐츠 전체 테이블 시작--> 

          <tr>
            <td><!-- 상단 타이틀이미지 시작 -->
              <p>&nbsp;</p>
              <table width="670" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="325"><img src="@{'/public/images/title_noti.png'}" alt="" width="325" height="89"></td>
                  <td width="345" align="right" valign="top" background="@{'/public/images/list_title03.png'}" class="style2" style="padding-top:10px; padding-right:20px;"><table width="230" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><select name="select">
                        <option>작성자</option>
                        <option selected>제목</option>
                        <option>내용</option>
                      </select></td>
                      <td><input name="textfield2" type="text" class="formbox" size="15"></td>
                      <td width="50"><img src="@{'/public/images/search.png'}" alt="" width="43" height="18" border="0" align="absmiddle"></td>
                    </tr>
                  </table>                    <!-- 검색 시작 -->
                    <!-- 검색 끝 -->
                    <!-- 상단 타이틀이미지 끝 --></td>
                </tr>
                <tr>
                  <td><img src="@{'/public/images/list_title02.png'}" alt="" width="325" height="4"></td>
                  <td><img src="@{'/public/images/list_title04.png'}" alt="" width="345" height="4"></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td>
            
            
<table width="670" border="0" cellspacing="0" cellpadding="0">
<!-- 컨텐츠 레이아웃 테이블 시작 -->

              <tr>
                <td width="4" height="2" bgcolor="fb7d00"></td>
                <td width="65" height="2" align="left" valign="top"></td>
                <td width="601" height="2" colspan="3" class="style2" style="padding-left:5px;">        
              </tr>
              <tr>
                <td width="4" bgcolor="fb7d00">&nbsp;</td>
                <td width="65" height="28" align="left" valign="middle" background="@{'/public/images/write_content_bg.png'}"><img src="@{'/public/images/write_subject.png'}" alt="" width="56" height="8"></td>
                <td width="601" colspan="3" class="style2" style="padding-left:5px;""><input name="title" type="text" class="formbox" size="90"></td>
              </tr>
              <tr>
                <td height="168" bgcolor="fb7d00">&nbsp;</td>
                <td width="65" height="319" align="left" valign="top" background="@{'/public/images/write_content_bg.png'}" style="padding-top:14px;"><img src="@{'/public/images/write_content.png'}" alt="" width="59" height="9"></td>
                <td width="601" colspan="3" class="style2"><p class="style2" style="padding-left:4px;">
                  <textarea name="content" cols="95" rows="21" class="textfield1"></textarea>
              </td>
              </tr>
              <tr>
                <td height="4" colspan="5"><img src="@{'/public/images/write_line_1.png'}" alt="" width="670" height="4"></td>
              </tr>
              <tr>
                <td height="15" colspan="5">
                  
                  

<table width="670" border="0" cellspacing="0" cellpadding="0">
<!-- bottom 시작-->

                    <tr>
                      <td width="43" height="25"><a href="list.htm"><img src="@{'/public/images/view_list.png'}" alt="" width="43" height="18" border="0"></a></td>
                      <td width="528" height="35">&nbsp;</td>
                      <td width="43"><a href="javascript:writeb();"><img src="@{'/public/images/button_write_write.png'}" alt="" width="43" height="18" border="0"></a></td>
                      <td width="4">&nbsp;</td>
                      <td width="43"><img src="@{'/public/images/button_write_cancel.png'}" alt="" width="43" height="18" border="0"></td>
                      <td width="4">&nbsp;</td>
                      <td width="4" >&nbsp;</td>
                    </tr>
<!-- bottom 끝-->                    
</table>
                  
                  
                  </td>
              </tr>
              <tr>
                <td height="4" colspan="5">&nbsp;</td>
              </tr>
            
<!-- 컨텐츠 레이아웃 테이블 끝 -->            
</table>
            
            </td>
          </tr>
          <tr>
            <td><table width="670" border="0" cellspacing="0" cellpadding="0">
              <tr>        
            </table></td>
          </tr>

 <!-- 컨텐츠 전체 테이블 끝-->        
</table>        
        
        </td>
      </tr>
      <tr>
        <td colspan="4">&nbsp;</td>
        </tr>
    </table>
    <input type="submit" value="저장" />
#{/form}    

<script type="text/javascript">
function writeb(){
	jQuery('form').submit();
}
</script>
<!--     
<table>
	<tr>
		<td>제목</td>
		<td><input type="text" name="title" /><span class="error">#{error 'title' /}</span></td>
	</tr>
	<tr>
		<td>내용</td>
		<td><textarea name="content" cols="70" rows="15">&nbsp;</textarea>
			<span class="error">#{error 'content' /}</span></td>
	</tr>
	<tr>
		<td>작성자</td>
		<td><input type="text" name="author" />
			<span class="error">#{error 'author' /}</span>
		</td>
	</tr>
</table>

<input type="submit" value="저장" />
 -->